package com.hardy.demo.observer;

import java.util.Observable;

/**
 * Author: Hardy
 * Date:   2019/3/8
 * Description:
 **/
public class Subject extends Observable {

    public void update() {
        setChanged();

        notifyObservers();
    }
}


